﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListJobs.aspx.cs" Inherits="lcmyjobs.Web.enprise.ListJobs" %>

<%@ Register src="../Controls/TopEmployNavigation.ascx" tagname="TopEmployNavigation" tagprefix="uc1" %>

<%@ Register src="../Controls/EnterpriseLeft.ascx" tagname="EnterpriseLeft" tagprefix="uc2" %>

<%@ Register src="../Controls/Bottom8.ascx" tagname="Bottom8" tagprefix="uc3" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <title>单位管理中心—职位管理：职位管理</title>
     <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
    <!--[if lte IE 6]>
    <script src="DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
        <script type="text/javascript">
            DD_belatedPNG.fix('div, ul,span, img, li, input , a');
        </script>
        <script type="text/javascript">DD_belatedPNG.fix('*');</script>
    <![endif]--> 
     <script src="../Scripts/mybasic.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(2).addClass("activ_n"); });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
		<uc1:TopEmployNavigation ID="TopEmployNavigation1" runat="server" />
		<div class="zgzt_img">
			<img src="../qimg/zgzt_img.jpg" alt="找工作？就来聊城就业网！" width="950" height="70"/>
		</div>
		<div class="syd_dhk">
			欢迎您：
                <asp:Label ID="lbl_title" runat="server" Font-Bold="True" ></asp:Label>
		</div>
		<div class="ny_center" style="margin-top:5px;">
			<uc2:EnterpriseLeft ID="EnterpriseLeft1" runat="server" />
			<div class="grgl_right">
				<div class="grgl_jbzl">
				<p class="jbzl_zhuc_ls"><a href="PostJobs.html">发布职位</a> | <a href="ListJobs.html"><span>职位管理</span></a> | <a href="ListReward.html">悬赏服务</a> | <a href="ListHunter.html">猎头服务</a></p>
				<div class="xinxi_zc">

					<div class="jbxx_lr_ls" style=" height:24px; color:#252525; font-weight:normal;">
                        <div style=" float:left; width:300px; line-height:24px;"> 正在招聘
                            <a href="../enprise/ListJobs-1.html"><asp:Label ID="lbl_zpzw" runat="server" ForeColor="#ff6600" Text=""></asp:Label></a>&nbsp;个&nbsp;|&nbsp;过期
                            <a href="../enprise/ListJobs-2.html"><asp:Label ID="lbl_gxzw" runat="server" ForeColor="#ff6600" Text="" ></asp:Label></a>&nbsp;个&nbsp;|&nbsp;屏蔽
                            <a href="../enprise/ListJobs-3.html"><asp:Label ID="lbl_pbzw" runat="server" ForeColor="#ff6600" Text=""></asp:Label></a>&nbsp;个&nbsp;|&nbsp;急聘
                            <a href="../enprise/ListJobs-4.html"><asp:Label ID="lbl_jpzw" runat="server" ForeColor="#ff6600" Text=""></asp:Label></a>&nbsp;个
                            <asp:HiddenField ID="HF_type" runat="server" />
                        </div>
                        <div style=" float:right; width:360px; text-align:right; line-height:24px;">
                            <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged" runat="server" 
                            PageSize="20" CustomInfoTextAlign="Left" 
                            FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                            PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb"
                            CustomInfoHTML="&nbsp;共%PageCount%页" LayoutType="Table" 
                            ShowCustomInfoSection="Right" ShowNavigationToolTip="True" 
                            ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" 
                            TextAfterPageIndexBox="&nbsp;页" TextBeforePageIndexBox="跳转至&nbsp;" 
                           CustomInfoSectionWidth="50px" 
                           ShowPageIndex="False" 
                           HorizontalAlign="Right" AlwaysShow="True">
                                </webdiyer:AspNetPager>
                        </div>
                   
                          
                    </div>
				    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                                OnRowCommand="GridView1_RowCommand" DataKeyNames="enterprise_rid" OnRowDataBound="GridView1_RowDataBound"
                                 Width="100%" CellPadding="4" CssClass="jbzl_tab_zw"  GridLines="None">
                                <Columns>
                                    <asp:TemplateField HeaderText="选择" HeaderStyle-Width="12px" >
                                        
                                        <ItemTemplate>
                                            <asp:CheckBox ID="cbo_rid" runat="server" />
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                         <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />
                                        </HeaderTemplate>

<HeaderStyle Width="12px"></HeaderStyle>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="职位名称">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("jobs_name") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:HyperLink ID="hy_showjob" runat="server" NavigateUrl='<%# "../findjobs/JobsInfo-" + Eval("enterprise_rid") + ".html" %>' Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("jobs_name").ToString(),10) %>' ForeColor="#ff6600" Target="_blank"></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="有效期（天）"  HeaderStyle-Width="80px">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TB_valid" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="label_valid" runat="server" 
                                            Text='<%# lcmyjobs.BLL.Tools.GetValidity(Eval("validity_last").ToString())+"天" %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                    <asp:TemplateField HeaderText="浏览/应聘" HeaderStyle-Width="100px">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("bcount")+"/"+Eval("applicants") %>'></asp:Label>
                                        </ItemTemplate>

<HeaderStyle Width="100px"></HeaderStyle>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="releasetime" HeaderText="发布日期 " HeaderStyle-Width="90px"
                                        DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" >
<HeaderStyle Width="90px"></HeaderStyle>
                                    </asp:BoundField>
                                    <asp:BoundField DataField="reftime" HeaderText="刷新日期" HeaderStyle-Width="90px"
                                        DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" >
                                    
<HeaderStyle Width="90px"></HeaderStyle>
                                    </asp:BoundField>
                                    
                                    <asp:TemplateField HeaderText="操作" HeaderStyle-Width="105px">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            
                                            <asp:LinkButton ID="lbn_up" runat="server" CommandArgument='<%# Bind("enterprise_rid") %>' 
                                                CommandName="upd" ForeColor="#ff6600">修改</asp:LinkButton>
                                            &nbsp;<asp:LinkButton ID="lbn_delete" runat="server" CommandArgument='<%# Bind("enterprise_rid") %>'
                                             OnClientClick="return confirm('将会删除所有和此职位关联的信息，确认要删除吗？')"
                                                CommandName="del" ForeColor="#ff6600">删除</asp:LinkButton>
                                        </ItemTemplate>

<HeaderStyle Width="105px"></HeaderStyle>
                                    </asp:TemplateField>
                                </Columns>
                             
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            </asp:GridView>
					
					<!--<div style="text-align:right; padding:10px 20px 0 20px;">
						上一页 下一页 最末页
					</div>-->

					<div class="xiayibu">
						  <asp:Button ID="lbn_reset" runat="server" OnClientClick= "return confirm('确定要刷新职位吗？')" OnClick="lbn_reset_Click"  CssClass="bgbtn" Text="刷新职位" />
						  &nbsp;<asp:Button ID="lbn_setno" runat="server" OnClientClick= "return confirm('确定要激活职位吗？')" OnClick="lbn_setuse_Click"  CssClass="bgbtn" Text="激活职位" />
						  &nbsp;<asp:Button ID="lbn_setuse" runat="server" OnClientClick= "return confirm('确定要屏蔽职位吗？')" OnClick="lbn_setno_Click" runat="server"  CssClass="bgbtn" Text="屏蔽职位" />
						  &nbsp;<asp:Button ID="lbn_republish" runat="server" OnClientClick= "return confirm('确定要重新发布职位吗？')" OnClick="lbn_republish_Click" runat="server"  CssClass="bgbtn" Text="重新发布" />
                     &nbsp;</div>
					<div class="czsm_div">
						<p class="czsm_cz">操作说明</p>
						<div class="wzgg_an">
						<span style=" color:#222; padding-right:2px;">申请悬赏招聘：</span>您要悬赏的职位名称，点击 修改，选择 悬赏金额，即申请成功；       <div style="float:right;width:250px;">     <%--<x:PageManager ID="PageManager1" runat="server" />
                                        <x:LinkButton ID="btnWhy" Text="为什么要悬赏招聘？" runat="server"   CssClass="inline"  ToolTip="悬赏招聘：更准确、更快捷、更低成本。<br/><br/>更准确----提供专业的人才选择工具，帮助企业深度甄选人才。 基于人才胜任素质的评测工具辅助人才选择。颠覆被动“等待”人才的传统方式。<br/><br/>更快捷----发挥社会力量，动员群众，借助猎手人脉资源关系，让您的悬赏信息迅速覆盖目标群体，快速找到适合人才。<br/><br/>更低成本----悬赏招聘使企业能够以较低的价格完成猎头服务。悬赏企业自行定价、发布有效职位，成本仅为传统猎头费用(费用为该职位年薪的30%)的十分之一，甚至更低，并全程享受专业人事招聘服务，轻松猎才。" ToolTipAutoHide="false">
                                        </x:LinkButton>--%></div><br/>
						<span style=" color:#222; padding-right:2px;">申请猎头服务：</span>您要猎头服务的职位名称，点击 修改，选择 年薪，即申请成功；<br/>
						<span style=" color:#222; padding-right:2px;">修  改：</span>修改日期即为发布日期；<br/>
						<span style=" color:#222; padding-right:2px;">删  除：</span>对职位彻底进行删除。<br/>
						<span style=" color:#222; padding-right:2px;">刷新职位：</span>将职位的更新时间修改为当前时间，使职位在搜索结果中排名靠前，提高招聘效果；<br/>
						<span style=" color:#222; padding-right:2px;">激活职位：</span>对“已屏蔽”的职位重新进行招聘；<br/>
						<span style=" color:#222; padding-right:2px;">屏蔽职位：</span>对“暂时不需要招聘”的职位进行隐藏，以后如果需要招聘时再激活该职位即可；<br/>
                        <span style=" color:#222; padding-right:2px;">重新发布：</span>按当前时间开始，重新发布职位；<br/>
						</div>
					</div>
				</div>
				</div>
			</div>
		</div>
		 <uc3:Bottom8 ID="Bottom81" runat="server" />
	</div>
   
    </form>
</body>
</html>
